Skip to main content

menuItem

Type

keyword

Summary

Used with the disable menu, doMenu, enable menu, and select commands, to designate a menu item in a menu.

Syntax

menuItem

Description

Use the menuItem keyword to enable or disable a menu item, or to perform a menu action.

Unlike menus, menu items must be specified by number. The topmost item in a menu is numbered 1.

Examples

enable menuItem 3 of button "Externals"
select menuItem 2 of menu "File"

command: select, doMenu, disable menu, enable menu

glossary: menu item, command, keyword

keyword: menu

property: commandChar, menuMessage, checkmark

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?